<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,maximum-scale=1.0" />
    <title>详情评论</title>
<#include "/view/admin/head.html"/>





    <style type="text/css">
        .list-path {
            height: 50px;
            line-height: 50px;
            background-color: #9acfea;
        }

        .table-class {
            width: 90%;
            text-align: center;
            border: 1px solid #afd9ee;
            margin: 0 auto;
            margin-top: 50px;
        }

        table th {
            width: 20%;
            background-color: #d9edf7;
            text-align: right;
        }

        table td {
            width: 20%;
            text-align: left;
        }


    </style>
    <script type="text/javascript">

        $(function(){



        });

    </script>
</head>
<body>

<#include "/view/admin/listnav.html"/>


<div class="table-class">
<#include "/view/admin/opermsg.html"/>
        <table class="table table-bordered">

                <input type="hidden" style="display: none" name="commentsId" value="${entity.commentsId!}"/>



                <tr>
                <th>评论内容</th>
                <td>
                    ${entity.content!}
                </td>
                


                
              <!--  <th>回复数</th>
                <td>
                    ${entity.replyCount!}
                </td>
               -->



                <th>点赞数</th>
                <td>
                    ${entity.likeCount!}
                </td>
        </tr>
            <tr>

                
                <th>用户</th>
                <td>
                        <#if entity.userinfoId??>
                            <#list listUserinfoId as lv>
                            <#if lv.value??&&entity.userinfoId == lv.value >
                            ${lv.name!}
                            </#if>
                            </#list>

                        </#if>
                </td>



                <input type="hidden" style="display: none" name="objectId" value="${entity.objectId!}"/>




                <th>评论对象类别</th>
                <td>
                        <#if entity.objectType??>
                                    <#if entity.objectType==0>活动
                                    <#elseif entity.objectType==1>商品
                                    </#if>

                        </#if>
                </td>
            </tr>
            <tr>

                
                <th>是否加入乐拍客</th>
                <td>
                        <#if entity.display??>

                                <#if 1==entity.joinlpk><span class="label label-success">是</span></#if>


                                <#if 0==entity.joinlpk><span class="label label-default">否</span></#if>

                        </#if>


                </td>



                <th>审批状态</th>
                <td>
                        <#if entity.approveStatus??>
                            <#if entity.approveStatus??>
                                    <#if 0==entity.approveStatus><span class="label label-default">审批中</span>

                                    <#elseif   1==entity.approveStatus><span class="label label-success">审批通过</span>

                                    <#elseif 2==entity.approveStatus><span class="label label-danger">审批不通过</span>

                                </#if>
                            </#if>

                        </#if>
                </td>
            </tr>
            <tr>

                
                <th>审批时间</th>
                <td>
                    <#if (entity.approveTime)?? >${entity.approveTime?string('yyyy-MM-dd HH:mm:ss')}</#if>
                </td>

                <th>创建时间</th>
                <td>
                    <#if (entity.createtime)?? >${entity.createtime?string('yyyy-MM-dd HH:mm:ss')}</#if>
                </td>
            </tr>




                <input type="hidden" style="display: none" name="delFlag" value="${entity.delFlag!}"/>




            <tr>
                <td colspan="4" width="100%" style="text-align: center;">
                    <#if entity.approveStatus??>
                        <#if 0==entity.approveStatus||2==entity.approveStatus>
                            <a href="${base}/czjcomments/approve.do?commentsId=${entity.commentsId!}&approveStatus=1" class="btn btn-success "  >审批通过</a>
                            <span style="width: 20px;">&nbsp;</span>
                        </#if>
                        <#if 0==entity.approveStatus||1==entity.approveStatus>
                            <a href="${base}/czjcomments/approve.do?commentsId=${entity.commentsId!}&approveStatus=2" class="btn btn-danger "  >审批不通过</a>
                            <span style="width: 20px;">&nbsp;</span>
                        </#if>
                    </#if>

                    <a href="${base}/czjcomments/add.do?commentsId=${entity.commentsId!}" class="btn btn-success "  >修改</a>
                    <span style="width: 20px;">&nbsp;</span>
                    <a class="btn btn-danger " href="javascript:window.history.go(-1)">
                        </span>返回</a>
                </td>
            </tr>

        </table>
    </form>




</div>

<script type="text/javascript">

</script>


</body>
</html>
